#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "binarytextedit.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:

    void on_encrypt_clicked();

    void on_cEscape_clicked();

    void on_URLEscape_clicked();

    void on_hex_clicked();

    void on_base64_clicked();

    void on_decrypt_clicked();

    void on_decryptt_clicked();

    void on_binaryMode_clicked(bool checked);

    void on_loadPlainText_clicked();

    void on_loadCipherText_clicked();

    void on_savePlainText_clicked();

    void on_saveCipherText_clicked();

private:
    Ui::MainWindow *ui;

    void load(BinaryTextEdit * destination);
    void save(BinaryTextEdit * source);
};

#endif // MAINWINDOW_H
